#!/bin/bash
cp /root/docs/shell/shop-helper/docker-compose.yml /root/workspace/shop-helper/
cd $1
name="$2"
echo "name=$name"
docker-compose stop $name
docker-compose rm -f $name
docker image rm "shop-helper_$name"
docker-compose up --build -d $name
docker system prune -f
